STEP 12: Let's use some actions to animate our robot face!

When we assign actions to specific sprites, we use dot notation to connect the sprite to an action.

  • Go to GRAPHICS and click on . Drag Turn Left into the bottom of your program.
  • Change the variable name in front of .turn_left() from sprite to eye1.
  • Change the argument inside the parentheses of .turn_left() from 90 to 360.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)